package com.tjetc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;


@TableName("t_log")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 模块名称
     */
    private String model;

    /**
     * 操作名称
     */
    private String action;

    /**
     * 方法名称
     */
    private String methodName;

    /**
     * 请求的url
     */
    private String visitUrl;

    /**
     * 请求方式
     */
    private String visitMethod;

    /**
     * 电脑ip
     */
    private String computerIp;

    /**
     * 记录时间
     */
    private Date date;


}
